package com.isoft.data.dao;


import com.isoft.data.xml.DFME_DEPE;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DFME_DEPE_Dao {
    @Insert("INSERT INTO AIRPORT.META(SNDR,RCVR,SEQN,DDTM,TYPE,STYP)" +
            "VALUES(#{DFME_DEPE.META.SNDR},#{DFME_DEPE.META.RCVR},"+
            "#{DFME_DEPE.META.SEQN},#{DFME_DEPE.META.DDTM},"+
            "#{DFME_DEPE.META.TYPE},#{DFME_DEPE.META.STYP})")
    public int addMETA(@Param("DFME_DEPE") DFME_DEPE DFME_DEPE);
    @Insert("INSERT INTO AIRPORT.DEPE(SEQN,DDTM,FLID,FATT,FFID,FIDE" +
            ",STAT,ISTA,MSTA,MIST,FRTT)" +
            "VALUES(#{DFME_DEPE.META.SEQN},#{DFME_DEPE.META.DDTM}," +
            "#{DFME_DEPE.DEPE.FLID}, #{DFME_DEPE.DEPE.FATT}," +
            "#{DFME_DEPE.DEPE.FFID}, #{DFME_DEPE.DEPE.FIDE}," +
            "#{DFME_DEPE.DEPE.STAT}, #{DFME_DEPE.DEPE.ISTA}," +
            "#{DFME_DEPE.DEPE.MSTA}, #{DFME_DEPE.DEPE.MIST},#{DFME_DEPE.DEPE.FRTT})")
    public int addDEPE(@Param("DFME_DEPE") DFME_DEPE DFME_DEPE);
}
